docs: document/mark-up SCHEDOP_*
authorIan Campbell <ian.campbell@citrix.com>
Mon, 19 Nov 2012 14:25:31 +0000 (14:25 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 19 Nov 2012 14:25:31 +0000 (14:25 +0000)
commitb1a83cf4f95072f245097c2eb802f1e2d03376c8
treeff6b99ba508732791a822234ae44c60594a8588d
parent163dc5de3f8c21ace92150a2e817b85b1006f547
docs: document/mark-up SCHEDOP_*

The biggest subtlety here is there additional argument when op ==
SCHEDOP_shutdown and reason == SHUTDOWN_suspend and its interpretation by
xc_domain_{save,restore}. Add some clarifying comments to libxc as well.

This patch moves some structs around but there is no functional change
other than improved documentation.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
xen/include/public/sched.h